<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <meta name="renderer" content="webkit|ie-comp|ie-stand">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta http-equiv="Cache-Control" content="no-siteapp"/>
        <link th:href="@{/erp/assets/css/bootstrap.min.css}" rel="stylesheet"/>
        <link rel="stylesheet" th:href="@{/erp/css/style.css}"/>
        <link rel="stylesheet" th:href="@{/erp/assets/css/ace.min.css}"/>
        <script th:src="@{/erp/assets/js/jquery.min.js}"></script>
        <script th:src="@{/erp/assets/layer/layer.js}" type="text/javascript"></script>
        <title>详细</title>
    </head>

    <body>
        <div class="margin clearfix">
            <div class="Order_Details_style">
            </div>
            <div class="detailed_style">
                <!--收件人信息-->
                <div class="Receiver_style">

                    <div class="Info_style clearfix">
                        <div class="col-xs-3">
                            <label class="label_name" for="supplierName"> 供应商名称： </label>
                            <div id="supplierName" class="o_content" th:text="${pOrder.supplierName}"></div>
                        </div>

                        <div class="col-xs-3">
                            <label class="label_name" for="productName"> 产品名称： </label>
                            <div id="productName" class="o_content" th:text="${pOrder.productName}"></div>
                        </div>
                        <div class="col-xs-3">
                            <label class="label_name" for="productId"> 产品编号： </label>
                            <div id="productId" class="o_content" th:text="${pOrder.proId}"></div>
                        </div>
                        <div class="col-xs-3">
                            <label class="label_name" for="count"> 需求数量： </label>
                            <div id="count" class="o_content" th:text="${pOrder.sum}"></div>
                        </div>
                        <div class="col-xs-3">
                            <label class="label_name" for="sortName"> 商品类型： </label>
                            <div id="sortName" class="o_content" th:text="${pOrder.sortssName}"></div>
                        </div>
                        <div class="col-xs-3">
                            <label class="label_name" for="proposer"> 申请人： </label>
                            <div id="proposer" class="o_content" th:text="${pOrder.orderPerson}"></div>
                        </div>
                        <div class="col-xs-3">
                            <label class="label_name" for="applyTime"> 申请时间： </label>
                            <div id="applyTime" class="o_content" th:text="${#dates.format(pOrder.orderTime,'yyyy-MM-dd HH:mm:ss')}" ></div>
                        </div>
                        <div class="col-xs-3">
                            <label class="label_name" for="orderTime"> 下单时间： </label>
                            <div id="orderTime" class="o_content" th:text="${#dates.format(pOrder.payTime,'yyyy-MM-dd HH:mm:ss')}"></div>
                        </div>
                        <div class="col-xs-3">
                            <label class="label_name" > 订单状态： </label>
                            <div class="o_content" th:text="${pOrder.orderStatus}"></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="Button_operation" align="center" style="margin-top: 50px">
                <button id="rtn"
                        class="btn btn-primary radius" type="button">返回
                </button>
            </div>
        </div>
        </div>
    </body>
    <script>
        $("#rtn").on("click", function () {
            var index = parent.layer.getFrameIndex(window.name);
            parent.layer.close(index);
        })
    </script>
</html>